home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gSujet0, gSujet1, gMessDef1, gMessDef2, gMessSty2, gEtudAct, gEtudPrec, gEtatEtud, gPartie, g1erSprChr, g1erSprLoc, g1erSprNav, gMaxBoutons, gBoutons, gSurvolPrec, gTraduit, gIndEnv, gOffZ, gOffE, gEnvSel, gOldEnvSel, gCodZoom, gScopeEnZ, gScopeEnB, gDur
- BigPurge()
- repeat with i = g1erSprChr to gMaxBoutons
- puppetSprite(i, 1)
- end repeat
- gBoutons(appuie, g1erSprLoc + 3)
- gBarChron(fleche, 0, 1, 1)
- Affiche_Date(gSujet0, "ZI1", "ZI2", "ZI3", 0)
- set monEpok to gSujet0(Le_Epoque)
- if (monEpok = 70) or (monEpok = 4) then
- gBoutons(habille, g1erSprLoc + 5, "vide")
- end if
- gBarChron(fleche, 1, monEpok, 0)
- set monStatut to gSujet0(Le_Statut)
- if monStatut = "A" then
- gBoutons(appuie, g1erSprLoc + 4)
- set the visible of sprite (g1erSprNav + 2) to 1
- else
- gBoutons(appuie, g1erSprLoc + 5)
- set the visible of sprite (g1erSprNav + 2) to 0
- end if
- repeat with i = g1erSprLoc to gMaxBoutons
- set the visible of sprite i to 1
- end repeat
- set gMessDef1 to getAt(gTraduit, 64)
- set the foreColor of cast "ZI5" to the foreColor of cast "jaune"
- set gMessDef2 to " "
- set gMessSty2 to "bold"
- if gEtudPrec = "FI" then
- gScopeEnB(visible, 1)
- gScopeEnZ(visible, 1)
- gBoutons(habille, g1erSprLoc + 7, "BTGOEI 1")
- SetBoxEnv()
- go(label("SU:RN EN"))
- curseur(-1)
- else
- sound fadeOut 1, 60
- set moncod to gSujet0(Le_CodeZoom)
- set gCodZoom to moncod
- setEnv(moncod, 1)
- set numZ to getPos(gIndEnv, moncod)
- set gOffZ to (numZ - 1) * ((4 * 323) + 101)
- put ">" && gOffZ
- gScopeEnZ(SetTime, 0)
- gScopeEnZ(Box, 20, 295, 280, 459)
- gScopeEnZ(VolAbs)
- gScopeEnZ(visible, 1)
- set gDur to 86 * 4
- set gPartie to " "
- set gSujet1 to 0
- set gEtatEtud to " "
- set gEtatPrec to " "
- set gEnvSel to 0
- set gOldEnvSel to 0
- puppetSound(0)
- end if
- end
-